package com.rjgc.title.model.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseApplyEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 科研项目
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 16:15
 **/
@Data
@ApiModel(description = "ScientificItem")
@TableName("scientific_item")
public class ScientificItem extends BaseApplyEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "项目(课题)名称")
    @TableField("project_name")
    private String projectName;

    @ApiModelProperty(value = "立项单位")
    @TableField("project_unit")
    private String projectUnit;

    @ApiModelProperty(value = "立项时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("project_time")
    private Date projectTime;

    @ApiModelProperty(value = "验收时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("acceptance_time")
    private Date acceptanceTime;

    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private String ranking;

    @ApiModelProperty(value = "经费（万）")
    @TableField("funds")
    private Long funds;

    @ApiModelProperty(value = "验收单位")
    @TableField("acceptance_unit")
    private String acceptanceUnit;

    @ApiModelProperty(value = "验收结论")
    @TableField("acceptance_conclusion")
    private String acceptanceConclusion;

    @ApiModelProperty(value = "项目编号")
    @TableField("item_no")
    private String itemNo;


}
